package com.yourwork.common.jpa;


import javax.persistence.Table;

import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import com.yourwork.model.Clientele;
@Repository
@Table(name="customer")
@Qualifier("CustomerRepositoey")
public interface ClienteleRepositoey extends JpaRepository<Clientele, Integer> {
	public Clientele findByUserNameOrPhone(String userName,String phone);
}
